/* Copyright 2009 Requirements Management System
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.mags.remas.model.entity;

// Generated Jan 19, 2010 2:33:54 PM by Hibernate Tools 3.2.2.GA

import java.util.Date;


/**
 * KeyDefinition generated by hbm2java
 */
public class KeyDefinition implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	private int keyDefinitionId;
	private long version;
	private String createdBy;
	private String updatedBy;
	private Date creationDate;
	private Date changeDate;
	private String name;
	private String defaultValue;
	private String allowEmpty;
	private EntityType entityType;
	private KeyType keyType;
	private EnumName enumName;
	private ListName listName;

	public ListName getListName() {
		return listName;
	}

	public void setListName(ListName listName) {
		this.listName = listName;
	}

	public EnumName getEnumName() {
		return enumName;
	}

	public void setEnumName(EnumName enumName) {
		this.enumName = enumName;
	}

	public KeyType getKeyType() {
		return keyType;
	}

	public void setKeyType(KeyType keyType) {
		this.keyType = keyType;
	}

	public EntityType getEntityType() {
		return entityType;
	}

	public void setEntityType(EntityType entityType) {
		this.entityType = entityType;
	}

	public KeyDefinition() {
	}

	public int getKeyDefinitionId() {
		return this.keyDefinitionId;
	}

	public void setKeyDefinitionId(int keyDefinitionId) {
		this.keyDefinitionId = keyDefinitionId;
	}

	public long getVersion() {
		return this.version;
	}

	public void setVersion(long version) {
		this.version = version;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getCreationDate() {
		return this.creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Date getChangeDate() {
		return this.changeDate;
	}

	public void setChangeDate(Date changeDate) {
		this.changeDate = changeDate;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDefaultValue() {
		return this.defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getAllowEmpty() {
		return this.allowEmpty;
	}

	public void setAllowEmpty(String allowEmpty) {
		this.allowEmpty = allowEmpty;
	}
}
